﻿using AhCha.Fortunate.Entity.DaMeng;
using AhCha.Fortunate.ModelsDto;
using AhCha.Fortunate.ModelsDto.DaMeng.ApiRequestLog;

namespace AhCha.Fortunate.IService.DaMeng
{
    public interface IApiRequestLogService : IBaseServices<ApiRequestLog>
    {
        /// <summary>
        /// 添加接口请求日志
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task AddApiRequestLog(AddApiRequestLogInpput input);

        /// <summary>
        /// 获取接口请求日志数据
        /// </summary>
        /// <returns></returns>
        Task<SqlSugarPagedList<ApiRequestLogOutput>> GetApiRequestLogPage(QueryApiRequestLogInpput inpput);
    }
}
